﻿using System;
using System.Collections.Generic;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 下架单
    /// </summary>
    public partial class TPickingOrder
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 下架单号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 对应出库单明细Id
        /// </summary>
        public int? RelatedOrderDetailId { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string WarehouseCode { get; set; }
        /// <summary>
        /// 库房
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public int? BillType { get; set; }
        /// <summary>
        /// 仓位编码
        /// </summary>
        public string LocationCode { get; set; }
        /// <summary>
        /// 仓位深度
        /// </summary>
        public int? LocationDepth { get; set; }
        /// <summary>
        /// 垛存储信息Id
        /// </summary>
        public int? StackingStorageId { get; set; }
        /// <summary>
        /// 垛条码
        /// </summary>
        public string PalletBarcode { get; set; }
        /// <summary>
        /// 目标地址
        /// </summary>
        public string DescAddress { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Qty { get; set; }
        /// <summary>
        /// 物料Id
        /// </summary>
        public int? MaterialId { get; set; }
        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 货主Id
        /// </summary>
        public int? OwnerId { get; set; }
        /// <summary>
        /// 货主名称
        /// </summary>
        public string OwnerName { get; set; }
        /// <summary>
        /// 物料关键字Id
        /// </summary>
        public int? MaterialKeyId { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }
        /// <summary>
        /// 来源分类：1-入库；2-出库；3-移库；4-盘点
        /// </summary>
        public int? SourceType { get; set; }
    }
}
